package com.lzw.breezeNovel.model.entity.pojo.video;

import com.lzw.breezeNovel.model.entity.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity.pojo
 * @date 2025/3/15
 * @description 评论点赞实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class CommentLike extends BaseQuery {

    @Schema(description = "主键ID，自增")
    private Long id;

    @Schema(description = "点赞用户的ID，外键关联用户表")
    private Long userId;

    @Schema(description = "被点赞评论的ID，外键关联评论表")
    private Long commentId;

    @Schema(description = "点赞类型0:电影的评论，1:电视剧的评论 2:动漫的评论 3:短视频的评论")
    private Integer type;

    @Schema(description = "点赞时间，默认为当前时间")
    private Date likeTime;
}